// 头部tab选项卡区域样式
.cart_head {
    margin-top: 30px;
    ul {
        height: 40px;
        li {
            font: normal 20px/38px PingFangSC helvetica, tahoma, arial, sans-serif;
            margin-right: 55px;
            a {
                display: block;
            }
        }
    }
    .select {
        border-bottom: 3px solid #f57;
        a {
            color: #f57;
        }
    }
}

// 购物车主体内容区域样式
// 主体内容头部区域样式
.main_head {
    width: 100%;
    margin-bottom: 20px;
    padding: 15px 0;
    background-color: #f6f6f6;
    border: 1px solid #ddd;
    li {
        float: left;
    }
    .all_select {
        width: 100px;
        text-align: center;
        input,
        label {
            vertical-align: middle;
        }
    }
    .goods_info {
        width: 58%;
        padding-left: 120px;
    }
    .good_price,
    .good_num,
    .good_count,
    .operate {
        width: 8%;
        text-align: center;
    }
}

// 商家信息及联系客服区域样式
.shop_info {
    padding: 10px 10px 20px 30px;
    input,
    a {
        vertical-align: middle;
    }
    .shop_name {
        margin-left: 8px;
        margin-right: 5px;
        font-weight: 700;
        &:hover {
            text-decoration: underline;
        }
    }
    .shop_contact {
        display: inline-block;
        width: 24px;
        height: 24px;
        background: url(https://s10.mogucdn.com/pic/140917/ubzlo_ieydmzldmq3tqojvmmytambqmmyde_16x19.gif) 50% no-repeat;
    }
}

// 商品购买详情信息区域样式
.cart_item {
    width: 100%;
    border: 1px solid #ddd;
    padding: 0px 15px 50px;
    ul {
        margin-top: 50px;
    }
    ul li {
        float: left;
        input,
        a,
        p,
        div {
            vertical-align: middle;
        }
    }
    .item_check {
        margin-left: 15px;
    }
    .desc>a,
    .item_info {
        float: left;
    }
    .desc img {
        width: 78px;
        height: 78px;
        margin: 0 15px;
    }
    .item_info a {
        display: block;
        width: 500px;
        margin-right: 20px;
        line-height: 24px;
        font-size: 16px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        &:hover {
            text-decoration: underline;
        }
    }
    .item_info p {
        color: #f46;
        font-size: 12px;
        margin: 3px 3px 5px 0;
        padding: 0 5px;
    }
    .good_detail {
        width: 10%;
        p {
            line-height: 20px;
            color: #666;
        }
    }
    .good_sales {
        width: 8%;
        text-align: center;
        p {
            line-height: 20px;
            color: #666;
            font-weight: bold;
        }
        .item_focus {
            color: #ff5777;
        }
    }
    .sale_num {
        position: relative;
        width: 97px;
        height: 27px;
        margin-left: 10px;
        input {
            position: absolute;
            border: 0;
            width: 45px;
            height: 27px;
            line-height: 12px;
            padding: 6px 0 7px;
            border: 1px solid #ddd;
            background: #fff;
            top: 0;
            left: 26px;
            text-align: center;
            color: #333;
        }
        .num_reduce,
        .num_add {
            position: absolute;
            cursor: pointer;
            width: 27px;
            height: 27px;
            top: 0;
            border: 1px solid #ddd;
        }
        .num_reduce {
            left: 0;
            background: url(../img/bg_position.png) -2px 2px no-repeat;
            border-right: 0;
        }
        .num_add {
            right: 0;
            background: url(../img/bg_position.png) -1px -78px no-repeat;
            border-left: 0;
        }
        .disabled {
            opacity: .5;
            filter: alpha(opacity=50);
            cursor: not-allowed;
        }
    }
    .item_count {
        width: 9%;
        text-align: center;
        p {
            color: #ff5777;
            font-size: 16px;
        }
    }
    .item_edit {
        width: 5%;
        text-align: center;
        a {
            font-size: 16px;
            color: #666;
            &:hover {
                text-decoration: underline;
                color: red;
            }
        }
    }
}

// 商品总数量和总价区域样式
.cart_paybar {
    position: relative;
    width: 1200px;
    height: 50px;
    padding-bottom: 30px;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    line-height: 50px;
    clear: both;
    margin-top: 20px;
    .sd_cart {
        input {
            margin-left: 30px;
        }
        input,
        label,
        a {
            vertical-align: middle;
        }
        label,
        a {
            margin-left: 20px;
        }
        a:hover {
            color: #f46;
            text-decoration: underline;
        }
    }
    .paybar_info {
        font-size: 14px;
        span {
            color: #ff5777;
        }
    }
    .cart_money {
        margin-left: 20px;
        margin-right: 15px;
        font-size: 26px;
        color: #ff5777;
        font-weight: bold;
    }
    .gopay {
        width: 152px;
        height: 51px;
        margin-top: -1px;
        text-align: center;
        font-size: 20px;
        opacity: 0.8;
        color: aliceblue;
        background-color: #d8d8d8;
        &:hover {
            opacity: 1;
            color: blanchedalmond;
        }
    }
}